<?php
if (!defined('BASEPATH')) exit('No direct script access allowed');
/**
 * 
 */
class ProductTypeObject
{
	private $_id;
	private $_categoryId;
	private $_title;
	private $_order;
	
	function __construct($id = -1, $categoryId = -1, $title = NULL, $order = 0)
	{
		$this->_id = $id;
		$this->_categoryId = $categoryId;
		$this->_title = $title;
		$this->_order = $order;
	}
	
	public function setId($id)
	{
		$this->_id = $id;
	}
	
	public function getId()
	{
		return $this->_id;
	}
	
	public function getCategoryId()
	{
		return $this->_categoryId;
	}
	
	public function setCategoryId($id)
	{
		$this->_categoryId = $id;
	}
	
	public function getTitle()
	{
		return quotes_to_entities($this->_title);
	}
	
	public function setTitle($title)
	{
		$this->_title = $title;
	}
	
	public function getOrder()
	{
		return $this->_order;
	}
	
	public function setOrder($order)
	{
		$this->_order = $order;
	}
}

?>